package com.xmg.server.order.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xmg.server.order.mapper.UsersMapper;
import com.xmg.shop.api.order.domain.Users;
import com.xmg.shop.api.order.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by Administrator on 2017/11/17.
 */
@Service
public class UserService implements IUserService{
    @Autowired
    private UsersMapper usersMapper;

    @Override
    public Users selectByPrimaryKey(Long id) {
        return usersMapper.selectByPrimaryKey(id);
    }

}
